#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main()
{

    double a, b, c, sum = 0;
    while (scanf("%lf %lf %lf", &a, &b, &c) != EOF)
    {
        if (a < 9.9) a = a + 0.99;
        if (b < 9.9) b = b + 0.99;
        if (c < 9.9) c = c + 0.99;
        sum = a + b + c;
        printf("%.2lf", sum);
    }
    return 0;
}